package com.example.shiro.intercept;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;


@Service
public class AuthParameterValidator extends AbstractAccessControlFilter {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    protected boolean isAccessAllowed(ServletRequest servletRequest, ServletResponse servletResponse, Object mappingVal) throws Exception {
        logger.warn("====================>>>>>>>进入到AuthParameterValidator====================>>>>>>>" + mappingVal.toString());
        return false;
    }
}
